package com.bd.scm.dao.mapper.user;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.scm.domain.dto.user.PersonnelFilesDto;
import com.bd.scm.domain.models.user.TransferUser;

import java.util.List;

public interface TransferUserMapper {

    /**
     * 临时借调列表
     * @param doorInfo
     * @param transferUser
     * @return
     */
    IPage<TransferUser> transferUserList(Page<TransferUser> doorInfo, TransferUser transferUser);

    /**
     * 导出
     * @return
     */
    List<TransferUser> transferUserList2(TransferUser transferUser);

    /**
     * 添加临时调动信息
     * @param transferUser
     * @return
     */
    int addLoanInfo(TransferUser transferUser);

    /**
     * 获取昨天的永久调用部门数据
     * @return
     */
    List<TransferUser> findBdTemporaryLoanList();
}
